package request

type CreateGroupRequest struct {
	GroupName string `binding:"required,max=50" form:"group_name" json:"group_name" label:"分组名称"`
	GroupDesc string `binding:"max=255" form:"group_desc" json:"group_desc" label:"分组描述"`
}

type EditGroupRequest struct {
	GroupId   int    `binding:"required" form:"group_id" json:"group_id" label:"分组信息"`
	GroupName string `binding:"required,max=50" form:"group_name" json:"group_name" label:"分组名称"`
	GroupDesc string `binding:"max=255" form:"group_desc" json:"group_desc" label:"分组描述"`
}

type DelGroupRequest struct {
	GroupId int `binding:"required" form:"group_id" json:"group_id" label:"分组信息"`
}
